package com.lzc.tlmail.tlmailproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzc.common.utils.PageUtils;
import com.lzc.tlmail.tlmailproduct.entity.AttrGroupEntity;
import com.lzc.tlmail.tlmailproduct.vo.AttrattrgrouprelationVo;
import com.lzc.tlmail.tlmailproduct.vo.AttrgroupwithattrVo;
import com.lzc.tlmail.tlmailproduct.vo.SkuItemVo;
import com.lzc.tlmail.tlmailproduct.vo.SpuBaseGroupAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author lzc
 * @email 1029669636@gmail.com
 * @date 2020-07-25 21:23:58
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Integer cateid);

    void removerelation(AttrattrgrouprelationVo[] attrattrgrouprelationVo);

    List<AttrgroupwithattrVo> getAttrGroupAndAttrByCatId(Long catId);

    List<SpuBaseGroupAttrVo> getAttrGroupAndAttrBySpuId(Long spuId, Long catalogId);
}

